
<template>
    <rx-dialog @ok="handleSubmit" @cancel="cancel">
        <rx-layout>
            <template #middle>
                <a-form ref="form"  :model="mdl">
                  <a-form-item  :label="i18n('form.createByName','创建人名称')" name = "createByName">
                    <a-input :placeholder="i18n('form.createByName','创建人名称','input')" v-model:value="mdl.createByName"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.fileId','文件ID')" name = "fileId">
                    <a-input :placeholder="i18n('form.fileId','文件ID','input')" v-model:value="mdl.fileId"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.fileName','文件名称')" name = "fileName">
                    <a-input :placeholder="i18n('form.fileName','文件名称','input')" v-model:value="mdl.fileName"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.genStatus','生成状态')" name = "genStatus">
                    <a-input :placeholder="i18n('form.genStatus','生成状态','input')" v-model:value="mdl.genStatus"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.listId','列表主键')" name = "listId">
                    <a-input :placeholder="i18n('form.listId','列表主键','input')" v-model:value="mdl.listId"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.listName','列表名称')" name = "listName">
                    <a-input :placeholder="i18n('form.listName','列表名称','input')" v-model:value="mdl.listName"/>
                  </a-form-item>
                  <a-form-item  :label="i18n('form.remarks','备注')" name = "remark">
                    <a-input :placeholder="i18n('form.remarks','备注','input')" v-model:value="mdl.remark"/>
                  </a-form-item>
                </a-form>
            </template>
        </rx-layout>
    </rx-dialog>
</template>
<script>
    import FormExcelGenTaskApi from '@/common/api/form/formExcelGenTask'
    import {RxDialog,BaseFormModel} from '@lowcode/jpaas-base-lib';


    export default {
      name: 'FormExcelGenTaskEdit',
      mixins: [BaseFormModel],
      components: {
        RxDialog,
      },
      data() {
        return {}
      },
      methods: {
        i18n(name, text, key) {
          return this.$ti18(name, text, "FormExcelGenTask", key);
        },
        get(id) {
          return FormExcelGenTaskApi.get(id);
        },
        save() {
          return FormExcelGenTaskApi.save(this.mdl);
        },

      }
    }
</script>
<style>
    .relick a{
        margin-right: 10px;
    }

</style>
